import React , { Component , PropTypes } from "react";
import {connect} from "react-redux";

class BetCenterSureBtn extends Component {

  render() {
    return(
      <div {...this.props} className="bet-bottom-btn">
        <div onClick={this.props.onReset}>重置</div>
        <div onClick={this.props.onSubmit}>确认注单</div>
      </div>
    )
  }
}

BetCenterSureBtn.defaultProps = {
  onReset: () => {},
  onSubmit: () => {},
};

BetCenterSureBtn.propTypes = {
  onReset: PropTypes.func,
  onSubmit: PropTypes.func
};

export default BetCenterSureBtn;

